#!/bin/bash

cat testcase | ./gawk4 'BEGIN{extension("./libmcrypt.so","dlload");mcrypt_module_open("des","cfb","k2k3k1k2");} {print mcrypt_generic($1)}' | 
./gawk4 'BEGIN{extension("./libmcrypt.so","dlload");mcrypt_module_open("des","cfb","k2k3k1k2");} {print mdecrypt_generic($1)}' > testcase_diff

diff testcase testcase_diff

rm testcase_diff
